<?php

class Core_Request
{
   /**
    * @var string Маршрут
    */
    public $route;

   /**
    * @var string Контроллёр
    */
    public $controller;

   /**
    * @var string Действие
    */
    public $action;

   /**
    * @var array Параметры запроса
    */
    public $params = array();

    protected static $_instance = null;

    /**
    * Singleton
    *
    * @return Request
    */
    public static function &instance()
    {

	if (null === self::$_instance){
            self::$_instance = new self();
        }

        return self::$_instance;
    }

    protected function  __construct()
    {}

    
}

?>
